import Mock from 'mockjs'

const getAllListScore={//成績信息
  "pageNum": 1,
  "pageSize": 5,
  "size": 5,
  "startRow": 1,
  "endRow": 5,
  "total": 50,
  "pages": 10,
  "list" :[
    {
  "scoreId": 1,
  "courseId": 1,
  "studentId": 1,
  "scorePlay": null,
  "scoreOntime": null,
  "scoreTest": null,
  "scoreExam": null,
  "scoreCredit": 100,
  "scoreCreateDate": null,
  "modifyPerson": null,
  "modifyDate": null,
  "scoreDelete": null,
  "course": {
    "courseId": 1,
    "examId": null,
    "teacherId": null,
    "scoreId": null,
    "dissentId": null,
    "majorId": null,
    "examPaperId": null,
    "courseName": "化学2",
    "courseScore": null,
    "courseEdition": null,
    "courseClass": null,
    "courseOnlineTestScorce": null,
    "courseFinalTestScorce": null,
    "courseOnlineScorce": null,
    "coursePlan": null,
    "courseCreateDate": null,
    "courseModifyPerson": null,
    "courseModifyDate": null,
    "courseDelete": null,
    "courseInfo": null
  },
  "student": {
    "studentId": 1,
    "majorId": null,
    "thesisId": null,
    "studentPassword": null,
    "studentName": "zhangasd",
    "studentSex": null,
    "studentNation": null,
    "studentIdcard": null,
    "studentPhone": null,
    "studentGraduate": null,
    "studentBirth": null,
    "studentAddress": null,
    "studentEducation": null,
    "studentCertificate": null,
    "studentPhoto": null,
    "studentEmail": null,
    "studentDate": null,
    "studentType": null,
    "studentFirstMoney": null,
    "studentFirstMoneyTime": null,
    "studentSecondMoney": null,
    "studentSecondMoneyTime": null,
    "studentModifyPerson": null,
    "studentModifyDate": null,
    "studentLastTime": null,
    "studentTotalTime": null,
    "studentGraduation": null,
    "studentDelete": null
  }
},
{
  "scoreId": 2,
  "courseId": 1,
  "studentId": 2,
  "scorePlay": null,
  "scoreOntime": null,
  "scoreTest": null,
  "scoreExam": null,
  "scoreCredit": 100,
  "scoreCreateDate": null,
  "modifyPerson": null,
  "modifyDate": null,
  "scoreDelete": null,
  "course": {
    "courseId": 1,
    "examId": null,
    "teacherId": null,
    "scoreId": null,
    "dissentId": null,
    "majorId": null,
    "examPaperId": null,
    "courseName": "化学2",
    "courseScore": null,
    "courseEdition": null,
    "courseClass": null,
    "courseOnlineTestScorce": null,
    "courseFinalTestScorce": null,
    "courseOnlineScorce": null,
    "coursePlan": null,
    "courseCreateDate": null,
    "courseModifyPerson": null,
    "courseModifyDate": null,
    "courseDelete": null,
    "courseInfo": null
  },
  "student": {
    "studentId": 2,
    "majorId": null,
    "thesisId": null,
    "studentPassword": null,
    "studentName": "李四",
    "studentSex": null,
    "studentNation": null,
    "studentIdcard": null,
    "studentPhone": null,
    "studentGraduate": null,
    "studentBirth": null,
    "studentAddress": null,
    "studentEducation": null,
    "studentCertificate": null,
    "studentPhoto": null,
    "studentEmail": null,
    "studentDate": null,
    "studentType": null,
    "studentFirstMoney": null,
    "studentFirstMoneyTime": null,
    "studentSecondMoney": null,
    "studentSecondMoneyTime": null,
    "studentModifyPerson": null,
    "studentModifyDate": null,
    "studentLastTime": null,
    "studentTotalTime": null,
    "studentGraduation": null,
    "studentDelete": null
  }
},
{
  "scoreId": 3,
  "courseId": 2,
  "studentId": 3,
  "scorePlay": null,
  "scoreOntime": null,
  "scoreTest": null,
  "scoreExam": null,
  "scoreCredit": 100,
  "scoreCreateDate": null,
  "modifyPerson": null,
  "modifyDate": null,
  "scoreDelete": null,
  "course": {
    "courseId": 2,
    "examId": null,
    "teacherId": null,
    "scoreId": null,
    "dissentId": null,
    "majorId": null,
    "examPaperId": null,
    "courseName": "c语言1",
    "courseScore": null,
    "courseEdition": null,
    "courseClass": null,
    "courseOnlineTestScorce": null,
    "courseFinalTestScorce": null,
    "courseOnlineScorce": null,
    "coursePlan": null,
    "courseCreateDate": null,
    "courseModifyPerson": null,
    "courseModifyDate": null,
    "courseDelete": null,
    "courseInfo": null
  },
  "student": {
    "studentId": 3,
    "majorId": null,
    "thesisId": null,
    "studentPassword": null,
    "studentName": "啊大",
    "studentSex": null,
    "studentNation": null,
    "studentIdcard": null,
    "studentPhone": null,
    "studentGraduate": null,
    "studentBirth": null,
    "studentAddress": null,
    "studentEducation": null,
    "studentCertificate": null,
    "studentPhoto": null,
    "studentEmail": null,
    "studentDate": null,
    "studentType": null,
    "studentFirstMoney": null,
    "studentFirstMoneyTime": null,
    "studentSecondMoney": null,
    "studentSecondMoneyTime": null,
    "studentModifyPerson": null,
    "studentModifyDate": null,
    "studentLastTime": null,
    "studentTotalTime": null,
    "studentGraduation": null,
    "studentDelete": null
  }
},
{
  "scoreId": 4,
  "courseId": 1,
  "studentId": 4,
  "scorePlay": null,
  "scoreOntime": null,
  "scoreTest": null,
  "scoreExam": null,
  "scoreCredit": 100,
  "scoreCreateDate": null,
  "modifyPerson": null,
  "modifyDate": null,
  "scoreDelete": null,
  "course": {
    "courseId": 1,
    "examId": null,
    "teacherId": null,
    "scoreId": null,
    "dissentId": null,
    "majorId": null,
    "examPaperId": null,
    "courseName": "化学2",
    "courseScore": null,
    "courseEdition": null,
    "courseClass": null,
    "courseOnlineTestScorce": null,
    "courseFinalTestScorce": null,
    "courseOnlineScorce": null,
    "coursePlan": null,
    "courseCreateDate": null,
    "courseModifyPerson": null,
    "courseModifyDate": null,
    "courseDelete": null,
    "courseInfo": null
  },
  "student": {
    "studentId": 4,
    "majorId": null,
    "thesisId": null,
    "studentPassword": null,
    "studentName": "张三三",
    "studentSex": null,
    "studentNation": null,
    "studentIdcard": null,
    "studentPhone": null,
    "studentGraduate": null,
    "studentBirth": null,
    "studentAddress": null,
    "studentEducation": null,
    "studentCertificate": null,
    "studentPhoto": null,
    "studentEmail": null,
    "studentDate": null,
    "studentType": null,
    "studentFirstMoney": null,
    "studentFirstMoneyTime": null,
    "studentSecondMoney": null,
    "studentSecondMoneyTime": null,
    "studentModifyPerson": null,
    "studentModifyDate": null,
    "studentLastTime": null,
    "studentTotalTime": null,
    "studentGraduation": null,
    "studentDelete": null
  }
},
{
  "scoreId": 5,
  "courseId": 1,
  "studentId": 5,
  "scorePlay": null,
  "scoreOntime": null,
  "scoreTest": null,
  "scoreExam": null,
  "scoreCredit": 100,
  "scoreCreateDate": null,
  "modifyPerson": null,
  "modifyDate": null,
  "scoreDelete": null,
  "course": {
    "courseId": 1,
    "examId": null,
    "teacherId": null,
    "scoreId": null,
    "dissentId": null,
    "majorId": null,
    "examPaperId": null,
    "courseName": "化学2",
    "courseScore": null,
    "courseEdition": null,
    "courseClass": null,
    "courseOnlineTestScorce": null,
    "courseFinalTestScorce": null,
    "courseOnlineScorce": null,
    "coursePlan": null,
    "courseCreateDate": null,
    "courseModifyPerson": null,
    "courseModifyDate": null,
    "courseDelete": null,
    "courseInfo": null
  },
  "student": {
    "studentId": 5,
    "majorId": null,
    "thesisId": null,
    "studentPassword": null,
    "studentName": "5",
    "studentSex": null,
    "studentNation": null,
    "studentIdcard": null,
    "studentPhone": null,
    "studentGraduate": null,
    "studentBirth": null,
    "studentAddress": null,
    "studentEducation": null,
    "studentCertificate": null,
    "studentPhoto": null,
    "studentEmail": null,
    "studentDate": null,
    "studentType": null,
    "studentFirstMoney": null,
    "studentFirstMoneyTime": null,
    "studentSecondMoney": null,
    "studentSecondMoneyTime": null,
    "studentModifyPerson": null,
    "studentModifyDate": null,
    "studentLastTime": null,
    "studentTotalTime": null,
    "studentGraduation": null,
    "studentDelete": null
      }
    }
  ],
  "prePage": 0,
    "nextPage": 2,
    "isFirstPage": true,
    "isLastPage": false,
    "hasPreviousPage": false,
    "hasNextPage": true,
    "navigatePages": 8,
    "navigatepageNums": [
      1,
      2,
      3,
      4,
      5,
      6,
      7,
      8
    ],
    "navigateFirstPage": 1,
    "navigateLastPage": 8,
    "firstPage": 1,
    "lastPage": 8

};

/**
 *添加
 */
const insertSelective={
  "message" : "添加成功",
  "status" : 200
};
const updateByPrimaryKey={
  "message" : "添加成功",
  "status" : 200
};
/**
 * 按照ID查詢
 */
const selectIdName ={
      "scoreId": 1,
      "courseId": null,
      "studentId": 1,
      "scorePlay": null,
      "scoreOntime": null,
      "scoreTest": null,
      "scoreExam": null,
      "scoreCredit": 100,
      "scoreCreateDate": null,
      "modifyPerson": null,
      "modifyDate": null,
      "scoreDelete": null,
      "course": {
        "courseId": null,
        "examId": null,
        "teacherId": null,
        "scoreId": null,
        "dissentId": null,
        "majorId": null,
        "examPaperId": null,
        "courseName": "c语言2",
        "courseScore": null,
        "courseEdition": null,
        "courseClass": null,
        "courseOnlineTestScorce": null,
        "courseFinalTestScorce": null,
        "courseOnlineScorce": null,
        "coursePlan": null,
        "courseCreateDate": null,
        "courseModifyPerson": null,
        "courseModifyDate": null,
        "courseDelete": null,
        "courseInfo": null
      },
      "student": {
        "studentId": 1,
        "majorId": null,
        "thesisId": null,
        "studentPassword": null,
        "studentName": "zhangasd",
        "studentSex": null,
        "studentNation": null,
        "studentIdcard": null,
        "studentPhone": null,
        "studentGraduate": null,
        "studentBirth": null,
        "studentAddress": null,
        "studentEducation": null,
        "studentCertificate": null,
        "studentPhoto": null,
        "studentEmail": null,
        "studentDate": null,
        "studentType": null,
        "studentFirstMoney": null,
        "studentFirstMoneyTime": null,
        "studentSecondMoney": null,
        "studentSecondMoneyTime": null,
        "studentModifyPerson": null,
        "studentModifyDate": null,
        "studentLastTime": null,
        "studentTotalTime": null,
        "studentGraduation": null,
        "studentDelete": null
      },

}



export { getAllListScore };
export { updateByPrimaryKey};
export { insertSelective };
export { selectIdName }
